﻿using System.Collections.Generic;

namespace MSAcademic.v2.Infrastructure.User
{
    public interface IUserQueries
    {
        IUser TryGetWhereUsername(string username);
        IUser TryGetWhereUsernameAndPassword(string username, string password);
        IUser TryGetWhereId(int id);
        IUser GetArticleAuthor(int articleId);
        IUser GetWhereEmail(string email);
        IEnumerable<int> GetUserRights(int id);
    }
}
